import http from './http.js'

//首页banner
export const getBanner = () => {
	return http('user/getBanner')
}
//首页列表
export const getHomeList = () => {
	return http('user/getHomeList')
}
//用户登录
export const login = (code) => {
	return http('login', {code}, 'POST')
}
//用户数据
export const getUserInfo = () => {
	return http('getUserInfo')
}
//游玩项目
export const detailProject = () =>{
	return http('detail/project')
}
//项目详情信息
export const ProjectInfo =(data)=>{
	return http('project/info',data)
}

//喜欢列表数据
export const LikeList =()=>{
	return http('like/list')
}



